package com.onix.scalecamerapreview.translate;

import java.io.IOException;

public class ErrorCodeException extends IOException {
    private int code;
    private final String mMsg;

    public ErrorCodeException(int code, String msg) {
        super(msg + "");
        this.code = code;
        mMsg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

}
